package model.Service;

import java.util.List;

import model.DAO.SemesterDAO;
import model.Entity.SIS.Semester;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("SemesterService")
public class SemesterService {
	
	@Autowired
	private SemesterDAO semesterDAO;
	
	public List<Semester> getActiveSemesters(){
		return semesterDAO.findActiveSemesters();
	}

}
